<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
    
    <style>
      /* 登录和注册页面的全局样式修复 */
      .login-container, .register-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 200px);
        padding: 2rem;
      }
      
      .login-box, .register-box {
        width: 100%;
        max-width: 450px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        padding: 2rem;
      }
      
      .login-header, .register-header {
        text-align: center;
        margin-bottom: 2rem;
      }
      
      .login-button, .register-button {
        width: 100%;
        margin-top: 1rem;
        height: 45px;
      }
      
      /* Element Plus 样式修复 */
      .el-input__wrapper {
        background-color: #fff;
        border: 1px solid #dcdfe6;
        box-shadow: 0 0 0 1px #dcdfe6 inset;
        border-radius: 4px;
        padding: 1px 11px;
        width: 100%;
        transition: all .2s;
      }
      
      .el-input--suffix .el-input__wrapper {
        padding-right: 30px;
      }
      
      .el-button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        color: #606266;
        text-align: center;
        box-sizing: border-box;
        outline: none;
        transition: .1s;
        font-weight: 500;
        user-select: none;
        vertical-align: middle;
        background-color: #fff;
        border: 1px solid #dcdfe6;
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 4px;
      }
      
      .el-button--primary {
        color: #fff;
        background-color: #409eff;
        border-color: #409eff;
      }
      
      .el-form-item {
        margin-bottom: 22px;
      }
      
      .el-checkbox__input {
        white-space: nowrap;
        cursor: pointer;
        outline: none;
        display: inline-flex;
        position: relative;
        vertical-align: middle;
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script src="https://unpkg.com/element-plus/dist/index.full.js"></script>
    <script>
      window.ElementPlus = ElementPlus;
    </script>
  </body>
</html>
